package io.yuncheng.modules.sys.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.yuncheng.common.utils.PageUtils;
import io.yuncheng.modules.sys.entity.SubAppAssessmentSplitEntity;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * 密评以及风评方案
 *
 * @author jared
 * @email 15721509625@163.com
 * @date 2020-11-23 16:33:35
 */
public interface SubAppAssessmentSplitService extends IService<SubAppAssessmentSplitEntity> {

    PageUtils queryPage(Map<String, Object> params);
    List<SubAppAssessmentSplitEntity> queryListByDeptYear(Long deptId,Integer year,Integer status);
    List<SubAppAssessmentSplitEntity> queryListByEntity(Long appId, Date date, Integer status);

    List<SubAppAssessmentSplitEntity> queryListByEntityAll(Long appId, Date date);

    List<SubAppAssessmentSplitEntity> queryListByEntityAllByAppId(Long appId);

    Boolean notHasData(Long appId, Date date);

    List<SubAppAssessmentSplitEntity> queryNormalListByEntityNum(Long appId);
}

